package cn.iocoder.yudao.module.infra.convert;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author wangsong
 */
@Data
public class BaseTree <T>{

    private Long id;

    private Long parentId;

    private String code;

    private Long count = 0L;

    private List<T> children = new ArrayList<>();
}
